import request from '@/utils/request'

// 查询举报设置列表
export function listReportSetting(query) {
  return request({
    url: '/system/reportSetting/list',
    method: 'get',
    params: query
  })
}

// 查询举报设置详细
export function getReportSetting(id) {
  return request({
    url: '/system/reportSetting/' + id,
    method: 'get'
  })
}

// 新增举报设置
export function addReportSetting(data) {
  return request({
    url: '/system/reportSetting',
    method: 'post',
    data: data
  })
}

// 修改举报设置
export function updateReportSetting(data) {
  return request({
    url: '/system/reportSetting',
    method: 'put',
    data: data
  })
}

// 删除举报设置
export function delReportSetting(id) {
  return request({
    url: '/system/reportSetting/' + id,
    method: 'delete'
  })
}
